/**
 * 文件名：StatOutService.java
 *
 * 创建人：Fyh - 1009173473@qq.com
 *
 * 创建时间：2019年3月12日 下午5:33:18
 *
 * 版权所有：南京植百汇智能科技服务有限公司
 */
package com.z100h.supplychain.statistics.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.z100h.supplychain.statistics.entity.StatOutIn;
import com.z100h.supplychain.statistics.entity.StatOutInfo;
import com.z100h.supplychain.statistics.entity.StatRealtimeSku;
import com.z100h.supplychain.statistics.mapper.StatOutInMapper;

/**
 * [描述信息：说明类的基本功能]
 *
 * @author Fyh - 1009173473@qq.com
 * @version 1.0 Created on 2019年3月12日 下午5:33:18
 */
@Service
@Transactional(readOnly = true)
public class StatOutInService {

	@Autowired
	private StatOutInMapper statOutInMapper;
	
	public List<StatOutIn> findStatOutOfToday(){
		return statOutInMapper.findStatOutOfToday();
	}
	
	public List<StatOutIn> findStatOutOfYesterday(){
		return statOutInMapper.findStatOutOfYesterday();
	}
	
	public List<StatOutIn> findStatInOfToday(){
		return statOutInMapper.findStatInOfToday();
	}
	
	public List<StatOutIn> findStatInOfYesterday(){
		return statOutInMapper.findStatInOfYesterday();
	}
	
	public Integer getTotalRelatimeAmount() {
		return statOutInMapper.getTotalRelatimeAmount();
	}
	
	public StatOutInfo getTodayOutInfo() {
		return statOutInMapper.getTodayOutInfo();
	}
	
	public StatOutInfo getYesterdayOutInfo() {
		return statOutInMapper.getYesterdayOutInfo();
	}
	
	public List<StatRealtimeSku> findRealtimeSkuOfCategoryA(){
		return statOutInMapper.findRealtimeSkuOfCategoryA();
	}
	
	public List<StatRealtimeSku> findRealtimeSkuWarning(){
		return statOutInMapper.findRealtimeSkuWarning();
	}
}
